package com.lesso.yzh.sunflower.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalTime;

@Data
public class AttendanceRuleUpdateDTO implements Serializable {
    private static final long serialVersionUID = 20250702L;

    private Long id;

    private String ruleCode;

    private String ruleName;

    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private LocalTime workStartTime;

    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private LocalTime workEndTime;

    private int lateThreshold;

    private int earlyThreshold;
}
